def jwt_response_payload_handler(token, user, request):
    return {
        'token': token,
        'user_id': user.id,
        'username':user.username,
    }